/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 学生照片Entity
 * @author hss
 * @version 2017-09-08
 */
public class Stupicture extends DataEntity<Stupicture> {
	
	private static final long serialVersionUID = 1L;
	private String stunum;		// 学号
	private String picture;		// 照片
	
	public Stupicture() {
		super();
	}

	public Stupicture(String id){
		super(id);
	}

	@Length(min=0, max=40, message="学号长度必须介于 0 和 40 之间")
	public String getStunum() {
		return stunum;
	}

	public void setStunum(String stunum) {
		this.stunum = stunum;
	}
	
	@Length(min=0, max=500, message="照片长度必须介于 0 和 500 之间")
	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}
	
}